package com.five.wisdomClass.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@TableName("class_public_course")
@AllArgsConstructor
@NoArgsConstructor
public class ClassPublicCourse implements Serializable {

    // id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    // 课程号
    @TableField("course_number")
    private String courseNumber;

    // 班号
    @TableField("class_id")
    private String classId;
}
